package com.ruoyi.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.system.domain.User;

import java.util.List;

public interface UserService extends IService<User> {

    //登录
    boolean checkLogin(User user);

    //注册
    Integer registerUser(User user);

    //获取个人信息
    User info(Integer id);

    //根据username获得用户id
    String getIdByUsername(String username);

    List<User> getList();
}
